<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LTE-UNB: SimulationEnvironment::SimulationEnvironment Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LTE-UNB
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_simulation_environment.html">SimulationEnvironment</a>      </li>
      <li class="navelem"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html">SimulationEnvironment</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">SimulationEnvironment::SimulationEnvironment Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="SimulationEnvironment::SimulationEnvironment" -->
<p><code>#include &lt;<a class="el" href="_simulation_environment_8h_source.html">SimulationEnvironment.h</a>&gt;</code></p>

<p><a href="class_simulation_environment_1_1_simulation_environment-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#aa3b7eed37910331a8a8ff6ec377e5883">~SimulationEnvironment</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#ae8ce1b02fc06ab8f0797917c5fe940f1">setParameters</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#aa7ad8a07389464c077eef6e5d969b0dc">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a3bd1cbf9a99df723baa376115734cee1">createUsers</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#aa2177cd85f8e8724e2fe0ca615f96999">createENodeBs</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_physical_node_1_1_user.html">PhysicalNode::User</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a63fcc5a988143232484e8e65a74e4a99">getUser</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_physical_node_1_1_e_node_b.html">PhysicalNode::ENodeB</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a0e2041cb58052defbe05c0c3f572f770">getENodeB</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Array<br class="typebreak"/>
&lt; <a class="el" href="class_physical_node_1_1_physical_node.html">PhysicalNode::PhysicalNode</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a49c7f0a1cd5fe6c4f67be4d01e85710e">getUsers</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Array<br class="typebreak"/>
&lt; <a class="el" href="class_physical_node_1_1_physical_node.html">PhysicalNode::PhysicalNode</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a37359affdf8650af252f6cfc7eea47bc">getENodeBs</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a696628db7b33941b1cade104d5e5fc4d">initialize</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_simulation_environment_1_1_simulation_environment.html">SimulationEnvironment</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a575cb68a3486b77875397ebd08997744">getInstance</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_simulation_environment_1_1_simulation_environment.html">SimulationEnvironment</a> Class. Detailed Description. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa3b7eed37910331a8a8ff6ec377e5883"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::~SimulationEnvironment" ref="aa3b7eed37910331a8a8ff6ec377e5883" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html#aa3b7eed37910331a8a8ff6ec377e5883">SimulationEnvironment::SimulationEnvironment::~SimulationEnvironment</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor. Left empty. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa7ad8a07389464c077eef6e5d969b0dc"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::clear" ref="aa7ad8a07389464c077eef6e5d969b0dc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_simulation_environment_1_1_simulation_environment.html#aa7ad8a07389464c077eef6e5d969b0dc">SimulationEnvironment::SimulationEnvironment::clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Clear users_ and eNodeBs_. </p>

</div>
</div>
<a class="anchor" id="aa2177cd85f8e8724e2fe0ca615f96999"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::createENodeBs" ref="aa2177cd85f8e8724e2fe0ca615f96999" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_simulation_environment_1_1_simulation_environment.html#aa2177cd85f8e8724e2fe0ca615f96999">SimulationEnvironment::SimulationEnvironment::createENodeBs</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates ENodeBs and store than in eNodeBs_. </p>

</div>
</div>
<a class="anchor" id="a3bd1cbf9a99df723baa376115734cee1"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::createUsers" ref="a3bd1cbf9a99df723baa376115734cee1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a3bd1cbf9a99df723baa376115734cee1">SimulationEnvironment::SimulationEnvironment::createUsers</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates Users and store than in users_. </p>

</div>
</div>
<a class="anchor" id="a0e2041cb58052defbe05c0c3f572f770"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::getENodeB" ref="a0e2041cb58052defbe05c0c3f572f770" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_physical_node_1_1_e_node_b.html">PhysicalNode::ENodeB</a> * <a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a0e2041cb58052defbe05c0c3f572f770">SimulationEnvironment::SimulationEnvironment::getENodeB</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets the ENodeB by its ID. </p>

</div>
</div>
<a class="anchor" id="a37359affdf8650af252f6cfc7eea47bc"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::getENodeBs" ref="a37359affdf8650af252f6cfc7eea47bc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Array&lt; <a class="el" href="class_physical_node_1_1_physical_node.html">PhysicalNode::PhysicalNode</a> * &gt; * <a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a37359affdf8650af252f6cfc7eea47bc">SimulationEnvironment::SimulationEnvironment::getENodeBs</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a575cb68a3486b77875397ebd08997744"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::getInstance" ref="a575cb68a3486b77875397ebd08997744" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_simulation_environment_1_1_simulation_environment.html">SimulationEnvironment::SimulationEnvironment</a> * <a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a575cb68a3486b77875397ebd08997744">SimulationEnvironment::SimulationEnvironment::getInstance</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Sinlgetown instance of the class. </p>

</div>
</div>
<a class="anchor" id="a63fcc5a988143232484e8e65a74e4a99"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::getUser" ref="a63fcc5a988143232484e8e65a74e4a99" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_physical_node_1_1_user.html">PhysicalNode::User</a> * <a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a63fcc5a988143232484e8e65a74e4a99">SimulationEnvironment::SimulationEnvironment::getUser</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets the user by its ID. </p>

</div>
</div>
<a class="anchor" id="a49c7f0a1cd5fe6c4f67be4d01e85710e"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::getUsers" ref="a49c7f0a1cd5fe6c4f67be4d01e85710e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Array&lt; <a class="el" href="class_physical_node_1_1_physical_node.html">PhysicalNode::PhysicalNode</a> * &gt; * <a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a49c7f0a1cd5fe6c4f67be4d01e85710e">SimulationEnvironment::SimulationEnvironment::getUsers</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a696628db7b33941b1cade104d5e5fc4d"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::initialize" ref="a696628db7b33941b1cade104d5e5fc4d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_simulation_environment_1_1_simulation_environment.html#a696628db7b33941b1cade104d5e5fc4d">SimulationEnvironment::SimulationEnvironment::initialize</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initializes numberUsers_, mobility_, userIdCounter_, eNodeBIdCounter_. Calls createUsers and createENodeBs. </p>

</div>
</div>
<a class="anchor" id="ae8ce1b02fc06ab8f0797917c5fe940f1"></a><!-- doxytag: member="SimulationEnvironment::SimulationEnvironment::setParameters" ref="ae8ce1b02fc06ab8f0797917c5fe940f1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_simulation_environment_1_1_simulation_environment.html#ae8ce1b02fc06ab8f0797917c5fe940f1">SimulationEnvironment::SimulationEnvironment::setParameters</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Define numberUsers_ and numberENodeBs_. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SimulationEnvironment/<a class="el" href="_simulation_environment_8h_source.html">SimulationEnvironment.h</a></li>
<li>SimulationEnvironment/<a class="el" href="_simulation_environment_8cpp.html">SimulationEnvironment.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 25 2012 22:25:42 for LTE-UNB by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
